'use strict'
const merge = require('webpack-merge')
const prodEnv = require('./prod.env')

let baseUrl = ''
let params = process.argv[4]
switch (params) {
    case '--env=prod':
      baseUrl = '"http://60.205.222.89:8041/torch-api/"'
      break
    default:
      baseUrl = '"http://180.167.163.136:8011/api/"'
}
module.exports = merge(prodEnv, {
  NODE_ENV: '"development"',
  BASE_URL:baseUrl 
})
